<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>小米</title>
    <style type="text/css">
        body {
            padding: 0px;
            margin: 0px;
            background: #ccc;
        }

        ul {
            display: flex;
            list-style: none;
            width: 1000px;
            margin: 100px auto;
            overflow: hidden;
        }

        li {
            list-style: none;
            height: 220px;
            width: 240px;
            padding-top: 80px;
            margin-right: 10px;
            background: white;
            text-align: center;
            position: relative;

        }


        li:hover{
            box-shadow: 2px 2px 50px 2px #333;
        }

        li::after {
            content: "这是一段吸引用户购买的商品介绍。";
            position: absolute;
            left: 0px;
            bottom: -80px;
            height: 80px;
            background: #DE8910;
            text-align: center;
            transition: bottom 0.5s linear 0s;
        }

        li:hover::after {
            bottom: 0px;
            transition: bottom 0.5s linear 0s;
        }

        li:last-child {
            margin-right: 0px;
        }

        ul li img {
            width: 100px;
            height: 100px;
        }

        ul li > p:nth-of-type(1) {
            font-size: 24px;
        }

        ul li > p:nth-of-type(2) {
            color: #DE8910;
            font-size: 22px;
        }
    </style>
</head>
<body>
<ul>
    <li>
        <img src="images/pms_1524636075.71677607!220x220.jpg">
        <p>小米家电</p>
        <p>1000</p>
    </li>
    <li>
        <img src="images/pms_1524883847.49276938!220x220.jpg">
        <p>小米家电</p>
        <p>1000</p>
    </li>
    <li>
        <img src="images/pms_1542712545.6051427!220x220.jpg">
        <p>小米家电</p>
        <p>1000</p>
    </li>
    <li>
        <img src="images/xmad_15350951136177_QUuVm.png">
        <p>小米家电</p>
        <p>1000</p>
    </li>
</ul>
</body>
</html>